package zencstudio.sgrealtor.model;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

@JsonIgnoreProperties(ignoreUnknown=true)
public class Course implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@JsonProperty(value="course_id")
	private int id;
	@JsonProperty(value="name")
	private String name;
	@JsonProperty(value="description")
	private String description;
	@JsonProperty(value="start")
	private String date;
	@JsonProperty(value="price")
	private double price;
	@JsonProperty(value="left")
	private int left;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public double getPrice() {
		return price;
	}
	public String getStringPrice(){
		return price+ " $";
	}
	public int getId() {
		return id;
	}
	public String getDescription() {
		return description;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public int getLeft() {
		return left;
	}
	public void setLeft(int left) {
		this.left = left;
	}
	
}
